package com.example.demo.modules.study.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Person {

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别", notes = "0男1女")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;
}
